export function mergeOptions (original,userDefined){
    let options = original
    let key
    for (key in userDefined) {
        options[key] = userDefined[key];
    }
    return options
  }
  const hasOwnProperty = Object.prototype.hasOwnProperty
  export function hasOwn (obj, key){
    return hasOwnProperty.call(obj, key)
  }
  